package me.yricky.mayu.desktop

import me.yricky.mayu.ui.fasta.DetailWindow
import me.yricky.mayu.ui.fasta.FastaSeqModel

/**
 * @author Yricky
 * @date 2022/4/21
 */

fun FastaSeqModel.openDetail(){
    if(AppState.workList.all { it.first != this }){
        AppState.workList.add(Pair(this){ DetailWindow() })
    }
}

fun FastaSeqModel.asNewSeqTemplate(){

}